﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4.Shoppgin.Admin.Domain
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class AuditField
    {
        /// <summary>
        /// 是否删除
        /// </summary>
        [Display(Name = "是否删除")]
        public bool IsDeleted { get; set; } = false;


        /// <summary>
        /// 创建人
        /// </summary>
        [Display(Name = "创建人")]
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public DateTime CreatedTime { get; set; } = System.DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        [Display(Name = "修改人")]
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        public DateTime? UpdatedTime { get; set; }
    }
}
